package org.jxau.dao.impl;
import java.util.List;

import org.jxau.bean.Systems;
import org.jxau.bean.UserInfo;
import org.jxau.dao.BaseDao;
import org.jxau.dao.UserInfoDao;
import org.jxau.mapper.UserInfoMapper;

public class UserInfoDaoImpl extends BaseDao implements UserInfoDao {
	
	@Override
	public UserInfo getUserInfoByIdAndName(Integer id,String pwd) {
		return getMapper(UserInfoMapper.class).getUserInfoByIdAndName(id,pwd);
	}
	@Override
	public List<Systems> getSystemOfRoles(Integer id) {
		return getMapper(UserInfoMapper.class).getSystemOfRoles(id);
	}
	@Override
	public List<Systems> getAllSystems() {
		return getMapper(UserInfoMapper.class).getAllSystems();
	}

}
